package com.zhoug.imageloader3demo;

import android.os.Bundle;
import android.widget.ImageView;

import com.zhoug.imageloader3.wrap.GlideHelper;


public class MainActivity extends MyBaseActivity {

    private ImageView mImage1;

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_main;
    }

    @Override
    protected void findViews() {

        mImage1 = findViewById(R.id.image1);
    }

    @Override
    protected void onCreate1(Bundle savedInstanceState) {
        GlideHelper.with(this)
                .load("http://img1.baidu.com/it/u=509482053,950277981&fm=253&app=138&f=JPEG?w=800&h=1068")
                .transformCircle(true)
                .into(mImage1);
    }
}